Strict

Import agfx

Global myTmpScreen:TTmpScreen

Class TAgfx_test_app Extends TFramework

	Method OnCreate:Int()
		
		
		Super.OnCreate()
				
		myTmpScreen = New TTmpScreen		
		myTmpScreen.Prepare()
		
		Return 0
	End
	
End


Class TTmpScreen Extends TScreen

	Field doc:XMLDocument


	' START when app is created
	Method Start:Void()
	
		RESOURCE.Load("resource_320x480.xml")
		IMAGES.Dump()
		
		
	End
	
	' main app logic loop update
	Method Update:Void()
	End
	
	' main app render loop
	Method Render:Void()
		Cls
	End
End
